|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.support.Widget
org.eclipse.vtp.framework.interactions.voice.vxml.Iota
org.eclipse.vtp.framework.interactions.voice.vxml.OneOf
public class OneOf
A set of possible items for a Rule.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
OneOf()
Creates a new OneOf. |
|
| Method Summary | |
|---|---|
void |
addItem(Item item)
Adds an option to this set. |
Item[] |
getItems()
Returns the list of items in this set. |
void |
removeItem(Item item)
Remove an option from this set. |
protected void |
writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
Write the attribute members of this set to the supplied set. |
protected void |
writeItems(org.xml.sax.ContentHandler outputHandler)
Write the content of this set to the specified content handler. |
void |
writeWidget(org.xml.sax.ContentHandler outputHandler)
Writes the content of this widget to an XML content handler. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.support.Widget |
|---|
toString, writeAttribute, writeChildren, writeChildren, writeWidget, writeWidget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OneOf()
| Method Detail |
|---|
public Item[] getItems()
public void addItem(Item item)
throws java.lang.NullPointerException
item - The item to add.
java.lang.NullPointerException - If the specified item is null.
public void removeItem(Item item)
throws java.lang.NullPointerException
item - The item to remove.
java.lang.NullPointerException - If the specified item is null.
public void writeWidget(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
Widget
writeWidget in class WidgetoutputHandler - The handler to write this widget to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of this widget fails.protected void writeAttributes(org.xml.sax.helpers.AttributesImpl attributes)
attributes - The attribute set to write to.
java.lang.NullPointerException - If the supplied attribute set is
null.
protected void writeItems(org.xml.sax.ContentHandler outputHandler)
throws java.lang.NullPointerException,
org.xml.sax.SAXException
outputHandler - The content handler to write to.
java.lang.NullPointerException - If the supplied content handler is
null.
org.xml.sax.SAXException - If the writing of any of the items fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||